package com.tql.mall.search.client.impl;

import com.tql.mall.model.search.SearchParam;
import com.tql.mall.model.search.SearchRespVo;
import com.tql.mall.search.client.SearchFeignClient;
import org.springframework.stereotype.Component;

/**
 * @Author: tyk
 * @Date: 2023/5/23 20:25
 * @Description:
 */
@Component
public class SearchDegradeFeignClient implements SearchFeignClient {
    @Override
    public Boolean createIndex() {
        return false;
    }

    @Override
    public Boolean onSale(Long skuId) {
        return false;
    }

    @Override
    public Boolean offSale(Long skuId) {
        return false;
    }

    @Override
    public Boolean incrHotScore(Long skuId) {
        return false;
    }

    @Override
    public SearchRespVo search(SearchParam searchParam) {
        return new SearchRespVo();
    }
}
